<!DOCTYPE html>
	<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>首页</title>			
		<link rel="stylesheet" href="iconfont/iconfont.css?v=0326"/>
		<script src="http://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
		<script type="text/javascript" src="laytpl.js"></script>

	</head>
	<body>
		<div id="sokeContent"></div>
	</body>
	<script id="course_list" type="text/html">
		{{# for(var i in d){ }}
			{{# if(d[i].type == 'imageAndAudio'){ }}
			<li class="course">
				<a href="../Mine/courseDetails.html?courseId={{ d[i].sourceId }}">
					<img src="{{ d[i].middlePicture }}">
					<p><i>微</i>{{ d[i].title }}</p>
					<h3>
						<span>
						</span>
						<div><i class="iconfont">&#xe6b6;</i>{{ d[i].clickNum }}</div>
					</h3>
				</a>
			</li>
			{{# }else{ }}
			<li class="course">			
				<a href="./courseDetail.html?courseId={{ d[i].uuid }}&type={{ d[i].courseType }}">				
					<img src="{{ d[i].middlePicture }}">
					<p>{{ d[i].title }}</p>
					<h3>
						<span>
						{{# if(d[i].totalScore == '0.0'){ }}
							{{# for(var x =0; x < 5; x++){ }}
							<i class="iconfont">&#xe64a;</i>						
							{{# } }}
						{{# }else{ }}
							{{# for(var x =0; x < (parseInt(d[i].totalScore)); x++){ }}
							<i class="iconfont">&#xe64a;</i>						
							{{# } }}
							{{# if((d[i].totalScore.substr(2,3)) != 0){ }}
								<i class="iconfont icon-halfstar"></i>	
							{{# } }}
						{{# } }}
						</span>
						<div>
							{{# if(parseInt(d[i].clickNum ) > 9999){ }}
							<i class="iconfont">&#xe6b6;</i>9999+
							{{# }else{ }}
							<i class="iconfont">&#xe6b6;</i>{{ d[i].clickNum }}
							{{# } }}
						</div>
					</h3>
				</a>
			</li>
			{{# } }}
		{{# } }}
	</script>
	<script type="text/javascript" src="index.js"></script>
</html>